package zjw.dy.datasource.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class DbInfo implements Serializable {

    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private String name;

    private String databaseType;

    private String hostUrl;

    protected String username;

    protected String password;

    protected String driverClassName;
    protected Long createId;

    protected LocalDateTime createTime;

    protected Long updateId;

    protected LocalDateTime updateTime;


}
